python string to array

40

>>> text = 'a b c'
>>> text = text.split(' ')
>>> text
[ 'a', 'b', 'c' ]

Comments

Submit
0 Comments